/** @file

  Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
  SPDX-License-Identifier: BSD-2-Clause-Patent

**/

#define AP_SCOPE_CST_METHOD(INDEX) \
  External(\_SB.PR##INDEX, DeviceObj) \
  If (CondRefOf (\_SB.PR##INDEX)) { \
    Scope(\_SB.PR##INDEX) \
    { \
      Method(_CST,0) \
      { \
        Return(\_SB.PR00._CST) \
      } \
    } \
  }


DefinitionBlock (
  "APCST.aml",
  "SSDT",
  2,
  "PmRef",
  "ApCst",
  0x3000
  )
{
  External(\_SB.PR00._CST)

  AP_SCOPE_CST_METHOD(01)
  AP_SCOPE_CST_METHOD(02)
  AP_SCOPE_CST_METHOD(03)
  AP_SCOPE_CST_METHOD(04)
  AP_SCOPE_CST_METHOD(05)
  AP_SCOPE_CST_METHOD(06)
  AP_SCOPE_CST_METHOD(07)
  AP_SCOPE_CST_METHOD(08)
  AP_SCOPE_CST_METHOD(09)

  AP_SCOPE_CST_METHOD(10)
  AP_SCOPE_CST_METHOD(11)
  AP_SCOPE_CST_METHOD(12)
  AP_SCOPE_CST_METHOD(13)
  AP_SCOPE_CST_METHOD(14)
  AP_SCOPE_CST_METHOD(15)
  AP_SCOPE_CST_METHOD(16)
  AP_SCOPE_CST_METHOD(17)
  AP_SCOPE_CST_METHOD(18)
  AP_SCOPE_CST_METHOD(19)

  AP_SCOPE_CST_METHOD(20)
  AP_SCOPE_CST_METHOD(21)
  AP_SCOPE_CST_METHOD(22)
  AP_SCOPE_CST_METHOD(23)
  AP_SCOPE_CST_METHOD(24)
  AP_SCOPE_CST_METHOD(25)
  AP_SCOPE_CST_METHOD(26)
  AP_SCOPE_CST_METHOD(27)
  AP_SCOPE_CST_METHOD(28)
  AP_SCOPE_CST_METHOD(29)

  AP_SCOPE_CST_METHOD(30)
  AP_SCOPE_CST_METHOD(31)
  AP_SCOPE_CST_METHOD(32)
  AP_SCOPE_CST_METHOD(33)
  AP_SCOPE_CST_METHOD(34)
  AP_SCOPE_CST_METHOD(35)
  AP_SCOPE_CST_METHOD(36)
  AP_SCOPE_CST_METHOD(37)
  AP_SCOPE_CST_METHOD(38)
  AP_SCOPE_CST_METHOD(39)

  AP_SCOPE_CST_METHOD(40)
  AP_SCOPE_CST_METHOD(41)
  AP_SCOPE_CST_METHOD(42)
  AP_SCOPE_CST_METHOD(43)
  AP_SCOPE_CST_METHOD(44)
  AP_SCOPE_CST_METHOD(45)
  AP_SCOPE_CST_METHOD(46)
  AP_SCOPE_CST_METHOD(47)
  AP_SCOPE_CST_METHOD(48)
  AP_SCOPE_CST_METHOD(49)

  AP_SCOPE_CST_METHOD(50)
  AP_SCOPE_CST_METHOD(51)
  AP_SCOPE_CST_METHOD(52)
  AP_SCOPE_CST_METHOD(53)
  AP_SCOPE_CST_METHOD(54)
  AP_SCOPE_CST_METHOD(55)
  AP_SCOPE_CST_METHOD(56)
  AP_SCOPE_CST_METHOD(57)
  AP_SCOPE_CST_METHOD(58)
  AP_SCOPE_CST_METHOD(59)

  AP_SCOPE_CST_METHOD(60)
  AP_SCOPE_CST_METHOD(61)
  AP_SCOPE_CST_METHOD(62)
  AP_SCOPE_CST_METHOD(63)

}  // End of Definition Block

#undef AP_SCOPE_CST_METHOD
